package com.kehutong.payfees.entity;

import com.kehutong.payfees.enums.ChargeLawyerMaterialStatus;
import com.kehutong.payfees.enums.ChargeLawyerMaterialType;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;

/**
 * 律师调解中的催告函&调解书
 *
 */
@Table(value = "t_charge_lawyer_material", comment="律师调解的催告函&调解书", multi = true)
public class ChargeLawyerMaterial extends Entity {

    private static final long serialVersionUID = -1269095207133801798L;

    protected ChargeLawyerMaterial(String id) {
        super(id);
    }

    @Column(comment = "律师调解id")
    private String chargeMediationId;

    @Column(comment = "律师催缴材料类型")
    private ChargeLawyerMaterialType type;

    @Column(comment = "文件id")
    private String fileId;

    @Column(comment = "文件名字")
    private String fileName;

    @Column(comment = "文件后缀")
    private String fileSuffix;

    @Column(comment = "文件发送状态")
    private ChargeLawyerMaterialStatus status;

    @Column(comment = "文件来源，是否上传，0：生成，1：上传")
    private boolean upload;

    @Column(comment = "申请人签约状态，(调解书中的字段)")
    private boolean applicantSignStatus;

    @Column(comment = "被申请人签约状态, (调解书中的字段)")
    private boolean respondentSignStatus;

    @Column(comment = "逻辑删除")
    private boolean deleted;

    public String getChargeMediationId() {
        return chargeMediationId;
    }

    public void setChargeMediationId(String chargeMediationId) {
        this.chargeMediationId = chargeMediationId;
    }

    public ChargeLawyerMaterialType getType() {
        return type;
    }

    public void setType(ChargeLawyerMaterialType type) {
        this.type = type;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileSuffix() {
        return fileSuffix;
    }

    public void setFileSuffix(String fileSuffix) {
        this.fileSuffix = fileSuffix;
    }

    public ChargeLawyerMaterialStatus getStatus() {
        return status;
    }

    public void setStatus(ChargeLawyerMaterialStatus status) {
        this.status = status;
    }

    public boolean isApplicantSignStatus() {
        return applicantSignStatus;
    }

    public void setApplicantSignStatus(boolean applicantSignStatus) {
        this.applicantSignStatus = applicantSignStatus;
    }

    public boolean isRespondentSignStatus() {
        return respondentSignStatus;
    }

    public void setRespondentSignStatus(boolean respondentSignStatus) {
        this.respondentSignStatus = respondentSignStatus;
    }

    public boolean isUpload() {
        return upload;
    }

    public void setUpload(boolean upload) {
        this.upload = upload;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
}
